<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue列表展示</title>
</head>
<body>

<div id="app">
    {{message}}
    <ol>
        <li v-for="item in movies">{{item}}</li>
    </ol>
</div>

<script src="../js/vue.js"></script>
<script>
    let app = new Vue({
        el: '#app',
        data: {
            message: 'Vue列表展示',
            movies: ['星际穿越', '盗梦空间', '大话西游', '黄飞鸿']
        }
    })
</script>
</body>
</html>
